package com.fruits.login.model;

public class LoginSuccessInfo {

    //ip:port
    private HallUrl hallUrl;

    //token:KEY+type+时间戳+玩家Id
    private String token;

    private String playerId;
    private String uid;

    /**登录是否成功*/
    private boolean isSuccess;
    /**登录失败信息*/
    private String message;


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public HallUrl getHallUrl() {
        return hallUrl;
    }

    public void setHallUrl(HallUrl hallUrl) {
        this.hallUrl = hallUrl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "LoginSuccessInfo{" + "hallUrl=" + hallUrl + ", token='" + token + '\'' + ", isSuccess=" + isSuccess + ", message='" + message + '\'' + ", uid='" + uid + '\'' + '}';
    }
}
